import 'package:flutter/material.dart';
import 'package:client/cardDemo/01cardDemo.dart';
class listViewDemo extends StatelessWidget {
  const listViewDemo({super.key});

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      height: 200,
      width: 400,
      child: ListView(
        scrollDirection: Axis.horizontal, //水平列表,
        children: const <Widget>[
           CardDemo(
            title: "Title",
            subtitle: "Subtitle",
          ),

        ],
      ),
    );
  }
}